<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../back-common.jsp"%>
<%@ include file="/WEB-INF/pages/common/taglib.jsp"%>

<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>

<script src="<ls:templateResource item='/resources/plugins/My97DatePicker/WdatePicker.js'/>" type="text/javascript"></script>

    <%
        Long offset = (Long) request.getAttribute("offset");
    %>
    <form:form  action="${contextPath}/admin/advAnalysis/detail" id="form1" method="post">
    <table class="${tableclass}" style="width: 100%">
	   <thead>
	   		<tr><th> <strong class="am-text-primary am-text-lg">报表管理</strong> /  浏览详情</th></tr>
	   </thead>
     	<tbody>
     		<tr>
     			<input type="hidden" id="curPageNO" name="curPageNO" value="${curPageNO}" />
     			<input type="hidden" id="url" name="url" value="${url}" />
 			</tr>
 		</tbody>
    </table>
    </form:form>
    <div align="center">
        <%@ include file="/WEB-INF/pages/common/messages.jsp"%>
	    <display:table name="list" requestURI="/admin/advAnalysis/detail" id="item"
	         export="false"  class="${tableclass}" style="width:100%" sort="external">
	      <display:column title="顺序"  class="orderwidth"><%=offset++%></display:column>
	      <display:column title="广告链接" property="url"></display:column>
	      <display:column title="用户IP" property="ip"></display:column>
	      <display:column title="来源页面" property="sourcePage"></display:column>
	      <display:column title="访问时间">
	      	<fmt:formatDate value="${item.createTime}" pattern="yyyy-MM-dd HH:mm:ss " type="date"/> 
	      </display:column>
	      <display:column title="用户名" property="userName"></display:column>
	    </display:table>
        <c:if test="${not empty toolBar}">
            <c:out value="${toolBar}" escapeXml="${toolBar}"></c:out>
        </c:if>
        <div>
        	<input type="button" value="返回列表" class="${btnclass}" onclick="window.location.href='${contextPath}/admin/advAnalysis'"/>
        </div>
    </div>


